from selenium import webdriver
import time
import requests

if __name__ == '__main__':
    path = "chromedriver.exe"
    url = "http://itaihui.top/"
    liu = webdriver.Chrome(path)
    liu.get(url)
    time.sleep(10)
    with open("bo.html", "w", encoding="utf-8")as fp:
        fp.write(liu.page_source)
